import Layout from "@/layout";

//商品管理
export default {
  path: "/content-manager",
  component: Layout,
  redirect: "noRedirect",
  name: "内容管理",
  meta: { title: "内容管理", icon: "dashboard" },
  children: [
    {
      path: "/content-template-insert",
      name: "新增模板",
      hidden: true,
      component: () => import("@/views/content/template/save"),
      meta: { title: "新增模板", icon: "dashboard", inner: true }
    },
    {
      path: "/content-template-update",
      name: "编辑模板",
      hidden: true,
      component: () => import("@/views/content/template/save"),
      meta: { title: "编辑模板", icon: "dashboard", inner: true }
    },
    {
      path: "/content-template",
      name: "模板管理",
      component: () => import("@/views/content/template/list.vue"),
      meta: { title: "模板管理", icon: "dashboard" }
    },
    {
      path: "/content-content-insert",
      name: "新增内容",
      hidden: true,
      component: () => import("@/views/content/content/save"),
      meta: { title: "新增内容", icon: "dashboard", inner: true }
    },
    {
      path: "/content-content-update",
      name: "编辑内容",
      hidden: true,
      component: () => import("@/views/content/content/save"),
      meta: { title: "编辑内容", icon: "dashboard", inner: true }
    },
    {
      path: "/content-content",
      name: "内容管理",
      component: () => import("@/views/content/content/list.vue"),
      meta: { title: "内容管理", icon: "dashboard" }
    },
    {
      path: "/content-page-insert",
      name: "新增页面",
      hidden: true,
      component: () => import("@/views/content/page/save"),
      meta: { title: "新增页面", icon: "dashboard", inner: true }
    },
    {
      path: "/content-page-update",
      name: "编辑页面",
      hidden: true,
      component: () => import("@/views/content/page/save"),
      meta: { title: "编辑页面", icon: "dashboard", inner: true }
    },
    {
      path: "/content-page",
      name: "页面管理",
      component: () => import("@/views/content/page/list.vue"),
      meta: { title: "页面管理", icon: "dashboard" }
    },
  ]
};
